package cn.edu.bzu.aaa.model;

import java.sql.Date;

public class User {
    private int userID;
    private String username;
    private String password;
    private Date registrationDate;
    private Date lastLoginDate;
    private int userType;
    private String email;
    private String title;
    private boolean isLocked;
    private boolean isRegistrationComplete;

    public User(int userID, String username, String password, Date registrationDate, Date lastLoginDate, int userType, String email, String title, boolean isLocked, boolean isRegistrationComplete) {

        this.userID = userID;
        this.username = username;
        this.password = password;
        this.registrationDate = registrationDate;
        this.lastLoginDate = lastLoginDate;
        this.userType = userType;
        this.email = email;
        this.title = title;
        this.isLocked = isLocked;
        this.isRegistrationComplete = isRegistrationComplete;
    }

    public User() {

    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getRegistrationDate() {
        return registrationDate;
    }

    public void setRegistrationDate(Date registrationDate) {
        this.registrationDate = registrationDate;
    }

    public Date getLastLoginDate() {
        return lastLoginDate;
    }

    public void setLastLoginDate(Date lastLoginDate) {
        this.lastLoginDate = lastLoginDate;
    }

    public int getUserType() {
        return userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public boolean isLocked() {
        return isLocked;
    }

    public void setLocked(boolean locked) {
        isLocked = locked;
    }

    public boolean isRegistrationComplete() {
        return isRegistrationComplete;
    }

    public void setRegistrationComplete(boolean registrationComplete) {
        isRegistrationComplete = registrationComplete;
    }
}